<?php

// $Id$

require_once($WSC->get_site_inc_dir().'_sys/site_web_page.class.php');

class Server_Error_WP extends Site_Web_Page {
	public function init() {
		parent::init();

		$v = $this->create_view();
		$this->add_view($v);
	}


	public function run() {
		$ret = $this->get_view('default');
		$ret->add_http_header('HTTP/1.0 500 Internal Server Error');

		return $ret;
	}
}


